package com.feeyin.radar.crm.dao;

import com.feeyin.radar.crm.model.SaleRecord;
import java.util.Date;
import java.util.List;

public abstract interface SaleRecordDAO
{
  public abstract List getSaleRecordsByCustomerId(Integer paramInteger);

  public abstract List getSaleRecordsByCustomerIdAndStatus(Integer paramInteger, String paramString);

  public abstract List getSaleRecordsByCreatePersonId(Integer paramInteger);

  public abstract List getSaleRecordsByCreatePersonIds(String paramString);

  public abstract List getSaleRecordsByDeptIds(String paramString);

  public abstract SaleRecord getSaleRecord(Integer paramInteger);

  public abstract SaleRecord getSaleRecordBySaleRecordCode(String paramString);

  public abstract SaleRecord getSaleRecordLastLinkByCustomerIdStatus(Integer paramInteger, String paramString, Date paramDate1, Date paramDate2);

  public abstract SaleRecord getSaleRecordLastLinkByCustomerIdStatus(Integer paramInteger, String paramString);

  public abstract Date getSaleRecordLastLinkByCustomerId(Integer paramInteger);

  public abstract Date getSaleRecordLastLinkByCustomerIdAndStatus(Integer paramInteger, String paramString);

  public abstract Date getSaleRecordMinDateByCustomerIdAndStatus(Integer paramInteger, String paramString);

  public abstract Integer getSaleRecordCountByCustomerId(Integer paramInteger);

  public abstract List getCloseSaleRcordsByCustomerId(Integer paramInteger);

  public abstract boolean isFileExists(String paramString1, String paramString2, Integer paramInteger1, Integer paramInteger2, String paramString3);

  public abstract boolean insertSaleRecord(SaleRecord paramSaleRecord);

  public abstract boolean updateSaleRecord(SaleRecord paramSaleRecord);

  public abstract boolean updateSaleRecordCustomerIdById(Integer paramInteger1, Integer paramInteger2);

  public abstract boolean updateSaleRecordStatusByCustomerId(Integer paramInteger, String paramString1, String paramString2);

  public abstract boolean deleteSaleRecordByCustomerIdAndStatus(Integer paramInteger, String paramString);

  public abstract Integer getCurrentDateRecordCount(SaleRecord paramSaleRecord);
}